Initializing and Allocating Palettes
This section describes functions for creating and disposing of palettes. You can create a new palette from a'pltt'
resource using theGetNewPalette
function or create a palette from within your application using theNewPalette
function. You can also let the Palette Manager and Window Manager together create a palette by creating a'pltt'
resource with the same ID as the window you want to assign it to.Use the
DisposePalette
function to dispose of an entire palette.